package com.autologistics.model;

import java.util.HashSet;
import java.util.Set;

/**
 * Machineaddress entity. @author MyEclipse Persistence Tools
 */

public class Machineaddress implements java.io.Serializable {

	// Fields

	private Integer id;
	private Machineaddress machineaddress;
	private String name;
	private Set machines = new HashSet(0);
	private Set machineaddresses = new HashSet(0);

	// Constructors

	/** default constructor */
	public Machineaddress() {
	}

	/** full constructor */
	public Machineaddress(Machineaddress machineaddress, String name,
			Set machines, Set machineaddresses) {
		this.machineaddress = machineaddress;
		this.name = name;
		this.machines = machines;
		this.machineaddresses = machineaddresses;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Machineaddress getMachineaddress() {
		return this.machineaddress;
	}

	public void setMachineaddress(Machineaddress machineaddress) {
		this.machineaddress = machineaddress;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set getMachines() {
		return this.machines;
	}

	public void setMachines(Set machines) {
		this.machines = machines;
	}

	public Set getMachineaddresses() {
		return this.machineaddresses;
	}

	public void setMachineaddresses(Set machineaddresses) {
		this.machineaddresses = machineaddresses;
	}

}